/* 宠物领养系统 - 后台管理自定义样式 */

/* 全局背景和颜色 */
body {
    background-color: #f8f9fa !important;
}

/* 顶部导航栏 */
#header {
    background-color: #2c3e50 !important;
    border-bottom: none !important;
}

#branding h1 {
    color: white !important;
}

#branding h1 a {
    color: white !important;
}

/* 侧边栏样式 */
#left-sidebar {
    background-color: #34495e !important;
}

.module h2, .module caption, .inline-group h2 {
    background-color: #e74c3c !important;
    color: white !important;
}

/* 按钮样式 */
.button, input[type=submit], input[type=button], .submit-row input {
    background-color: #e74c3c !important;
    border: none !important;
    color: white !important;
    text-shadow: none !important;
}

.button:hover, input[type=submit]:hover, input[type=button]:hover {
    background-color: #c0392b !important;
}

/* 表格样式 */
table thead th {
    background-color: #34495e !important;
    color: white !important;
}

/* 自定义欢迎信息 */
#user-tools {
    color: #ecf0f1 !important;
}

#user-tools a {
    color: #ecf0f1 !important;
}

/* 宠物图片预览 */
.thumbnail {
    max-width: 100px !important;
    max-height: 100px !important;
    object-fit: cover;
    border-radius: 5px;
}

/* 状态标签样式 */
td.field-status {
    font-weight: bold;
}

.field-status:contains('available') {
    color: #27ae60;
}

.field-status:contains('pending') {
    color: #f39c12;
}

.field-status:contains('adopted') {
    color: #e74c3c;
}